class_name StateComponent
extends Node2D

var current_state := PlayerEnums.AnimState.IDLE

func get_current_state() -> PlayerEnums.AnimState:
	return current_state

func transition_to(new_state: PlayerEnums.AnimState):
	current_state = new_state
